//
//  AppDelegate.swift
//  sinaweibo
//
//  Created by icefs2 on 15/11/8.
//  Copyright © 2015年 icefs2. All rights reserved.
//

import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.backgroundColor = UIColor.whiteColor()
        window?.makeKeyAndVisible()
        
        window?.rootViewController = MainViewController()
        //外观设置,全局有效
        UINavigationBar.appearance().tintColor = UIColor.orangeColor()
        
        return true
    }

}

